"""Added new fields to product

Revision ID: d323ff8d244e
Revises: 6ca753b78b11
Create Date: 2024-04-28 21:52:36.600405

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "d323ff8d244e"
down_revision = "6ca753b78b11"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "product", sa.Column("email_password", sa.String(length=255), nullable=True)
    )
    op.add_column("product", sa.Column("cpf", sa.String(length=255), nullable=True))
    op.add_column("product", sa.Column("docs", sa.String(length=255), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("product", "docs")
    op.drop_column("product", "cpf")
    op.drop_column("product", "email_password")
    # ### end Alembic commands ###
